package com.jl.smartcard.ui.views.cmds;

import java.util.HashMap;
import java.util.Map;


public class CMDsNew implements Group {

	public final static String ID = "1: New Object";

	private final static Map<String, String> newObj = new HashMap<String, String>();
	static {
		newObj.put("CardFile",
				"var file = new CardFile(card, '/3F00/2FE2', true)");
		newObj.put("STK", "var stk = new STK(card)");
		newObj.put("ByteArray",
				"var ba = new ByteArray('112233')");
	}

	@Override
	public Map<String, String> getCMDs() {
		return newObj;
	}

	@Override
	public String wrap(String cmd) {
		return cmd;
	}

	@Override
	public String get(String key) {
		return newObj.get(key);
	}

}
